#ifndef CCONFIGDLG_H
#define CCONFIGDLG_H

#include <QDialog>
#include <QAbstractButton>

namespace Ui {
	class CConfigDlg;
}

class CConfigDlg : public QDialog {
	Q_OBJECT
	Q_DISABLE_COPY(CConfigDlg)
public:
	explicit CConfigDlg(QWidget *parent = 0);
	virtual ~CConfigDlg();

protected:
	virtual void changeEvent(QEvent *e);

protected slots:
	// stores contents of UI to QSettings:
	void onOK();
	// loads UI with settings taked from QSettings:
	void onLoad();

	void btnCLicked(QAbstractButton*);

private:
	Ui::CConfigDlg *m_ui;
};

#endif // CCONFIGDLG_H
